package com.zidongxiangxi.rabbit.core.constant.enums;

/**
 * 消息发送状态枚举类
 *
 * @author chenxudong
 * @date 2020-11-07
 */
public enum MessageSendStatusEnum {
	/**
	 * 发送中
	 */
	SENDING(1, "发送中"),
	/**
	 * 发送失败
	 */
	FAIL(2, "发送失败");

	private final Integer value;
	private final String desc;

	MessageSendStatusEnum(Integer value, String desc) {
		this.value = value;
		this.desc = desc;
	}

	public Integer getValue() {
		return value;
	}

	public String getDesc() {
		return desc;
	}
}
